package com.east.spark.parttern.visitor;

public class WorkerOfPharmacy extends Visitor {

	@Override
	public void visitor(Medicine medicine) {

		System.out.println("药房工作者：" + name + "拿药 ：" + medicine.getName());

	}

}
